package com.atuguigu.boot3.core.event;

import com.atuguigu.boot3.core.entity.User;
import org.springframework.context.ApplicationEvent;

public class LoginSuccessEvent extends ApplicationEvent {
    public LoginSuccessEvent(User source) {
        super(source);
        //System.out.println(source.getUsername()+"登录成功");

    }
}
